package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 作者：Dzm
 * 时间：2024-09-11-18:39
 * 功能：
 */

public class BrandEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 品牌名称 */
    private String name;

    /** 品牌首字母 */
    private String firstChar;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setFirstChar(String firstChar)
    {
        this.firstChar = firstChar;
    }

    public String getFirstChar()
    {
        return firstChar;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("firstChar", getFirstChar())
                .toString();
    }
}
